package zuoye;

public class xinshouji implements bofang,jiben,lianwang,paizhao{
    bofang fang;
    jiben ben;
    lianwang wang;
    paizhao zhao;
    public void fangfa(bofang fang,jiben ben,lianwang wang,paizhao zhao){
        this.fang=fang;
        this.ben=ben;
        this.wang=wang;
        this.zhao=zhao;
    }

    @Override
    public String yinyue() {
        return "播放音乐";
    }

    @Override
    public String shipin() {
        return "播放视频";
    }

    @Override
    public String duanxin() {
        return "发送短信";
    }

    @Override
    public String dianhua() {
        return "拨打电话";
    }

    @Override
    public String shangwang() {
        return "连接网络";
    }

    @Override
    public String zhaopian() {
        return "拍照";
    }
    public void xinshouji1(){
        System.out.println("新手机");
        System.out.println(fang.yinyue()+":菊花台");
        System.out.println(fang.shipin()+":钢铁侠");
        System.out.println(ben.dianhua()+":110");
        System.out.println(ben.duanxin()+":------");
        System.out.println(wang.shangwang()+":正在连接网络");
        System.out.println(zhao.zhaopian()+":咔嚓");

    }
}
